<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>FunctionType (Closure Compiler)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="FunctionType (Closure Compiler)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/google/javascript/rhino/jstype/FunctionParamBuilder.html" title="class in com.google.javascript.rhino.jstype"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/google/javascript/rhino/jstype/FunctionType.html" target="_top">Frames</a></li>
<li><a href="FunctionType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_com.google.javascript.rhino.jstype.JSType">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_com.google.javascript.rhino.jstype.JSType">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.google.javascript.rhino.jstype</div>
<h2 title="Class FunctionType" class="title">Class FunctionType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">com.google.javascript.rhino.jstype.JSType</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">com.google.javascript.rhino.jstype.ObjectType</a></li>
<li>
<ul class="inheritance">
<li>com.google.javascript.rhino.jstype.FunctionType</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;, java.io.Serializable</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../com/google/javascript/rhino/jstype/NoObjectType.html" title="class in com.google.javascript.rhino.jstype">NoObjectType</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">FunctionType</span>
extends <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></pre>
<div class="block">This derived type provides extended information about a function, including
 its return type and argument types.<p>

 Note: the parameters list is the LP node that is the parent of the
 actual NAME node containing the parsed argument list (annotated with
 JSDOC_TYPE_PROP's for the compile-time type of each argument.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.google.javascript.rhino.jstype.FunctionType">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_com.google.javascript.rhino.jstype.JSType">
<!--   -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;com.google.javascript.rhino.jstype.<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></h3>
<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.TypePair.html" title="class in com.google.javascript.rhino.jstype">JSType.TypePair</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_com.google.javascript.rhino.jstype.JSType">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;com.google.javascript.rhino.jstype.<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></h3>
<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#EMPTY_TYPE_COMPONENT">EMPTY_TYPE_COMPONENT</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#ENUMDECL">ENUMDECL</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#NOT_A_CLASS">NOT_A_CLASS</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#NOT_A_TYPE">NOT_A_TYPE</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#NOT_ENUMDECL">NOT_ENUMDECL</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#templateTypeMap">templateTypeMap</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#UNKNOWN_NAME">UNKNOWN_NAME</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#canBeCalled()">canBeCalled</a></strong>()</code>
<div class="block">This predicate is used to test whether a given type can be used as the
 'function' in a function call.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#clearCachedValues()">clearCachedValues</a></strong>()</code>
<div class="block">Clear cached values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#cloneWithoutArrowType()">cloneWithoutArrowType</a></strong>()</code>
<div class="block">Create a new constructor with the parameters and return type stripped.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#extendTemplateTypeMapBasedOn(com.google.javascript.rhino.jstype.ObjectType)">extendTemplateTypeMapBasedOn</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;type)</code>
<div class="block">Extends the TemplateTypeMap of the function's this type, based on the
 specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getAllExtendedInterfaces()">getAllExtendedInterfaces</a></strong>()</code>
<div class="block">Returns all extended interfaces declared by an interfaces or its super-
 interfaces.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getAllImplementedInterfaces()">getAllImplementedInterfaces</a></strong>()</code>
<div class="block">Returns all interfaces implemented by a class or its superclass and any
 superclasses for any of those interfaces.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getBindReturnType(int)">getBindReturnType</a></strong>(int&nbsp;argsToBind)</code>
<div class="block">Get the return value of calling "bind" on this function
 with the specified number of arguments.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getConstructor()">getConstructor</a></strong>()</code>
<div class="block">Gets this object's constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getCtorExtendedInterfaces()">getCtorExtendedInterfaces</a></strong>()</code>
<div class="block">Gets the interfaces extended by the interface associated with this type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getCtorImplementedInterfaces()">getCtorImplementedInterfaces</a></strong>()</code>
<div class="block">Gets the interfaces implemented by the ctor associated with this type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getExtendedInterfaces()">getExtendedInterfaces</a></strong>()</code>
<div class="block">Returns interfaces directly extended by an interface</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getExtendedInterfacesCount()">getExtendedInterfacesCount</a></strong>()</code>
<div class="block">Returns the number of interfaces directly extended by an interface</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getImplementedInterfaces()">getImplementedInterfaces</a></strong>()</code>
<div class="block">Returns interfaces implemented directly by a class or its superclass.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getImplicitPrototype()">getImplicitPrototype</a></strong>()</code>
<div class="block">Gets the implicit prototype (a.k.a.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getInstanceType()">getInstanceType</a></strong>()</code>
<div class="block">Gets the type of instance of this function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getMaxArguments()">getMaxArguments</a></strong>()</code>
<div class="block">Gets the maximum number of arguments that this function requires,
 or Integer.MAX_VALUE if this is a variable argument function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getMinArguments()">getMinArguments</a></strong>()</code>
<div class="block">Gets the minimum number of arguments that this function requires.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getOwnerFunction()">getOwnerFunction</a></strong>()</code>
<div class="block">Gets the owner of this if it's a function prototype.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getOwnImplementedInterfaces()">getOwnImplementedInterfaces</a></strong>()</code>
<div class="block">Returns interfaces directly implemented by the class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getOwnPropertyNames()">getOwnPropertyNames</a></strong>()</code>
<div class="block">Includes the prototype iff someone has created it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getParameters()">getParameters</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getParametersNode()">getParametersNode</a></strong>()</code>
<div class="block">Gets an LP node that contains all params.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getPropertyType(java.lang.String)">getPropertyType</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Gets the property type of the property whose name is given.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getPrototype()">getPrototype</a></strong>()</code>
<div class="block">Gets the <code>prototype</code> property of this function type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getReferenceName()">getReferenceName</a></strong>()</code>
<div class="block">Gets the reference name for this object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getReturnType()">getReturnType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/Property.html" title="class in com.google.javascript.rhino.jstype">Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getSlot(java.lang.String)">getSlot</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Default getSlot implementation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getSource()">getSource</a></strong>()</code>
<div class="block">Gets the source node or null if this is an unknown function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getSubTypes()">getSubTypes</a></strong>()</code>
<div class="block">Returns a list of types that are subtypes of this type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getSuperClassConstructor()">getSuperClassConstructor</a></strong>()</code>
<div class="block">Given a constructor or an interface type, get its superclass constructor
 or <code>null</code> if none exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getTopDefiningInterface(com.google.javascript.rhino.jstype.ObjectType, java.lang.String)">getTopDefiningInterface</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;type,
                       java.lang.String&nbsp;propertyName)</code>
<div class="block">Given an interface and a property, finds the top-most super interface
 that has the property defined (including this interface).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getTopMostDefiningType(java.lang.String)">getTopMostDefiningType</a></strong>(java.lang.String&nbsp;propertyName)</code>
<div class="block">Given a constructor or an interface type and a property, finds the
 top-most superclass that has the property defined (including this
 constructor).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#getTypeOfThis()">getTypeOfThis</a></strong>()</code>
<div class="block">Gets the type of <code>this</code> in this function.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasAnyTemplateTypesInternal()">hasAnyTemplateTypesInternal</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasCachedValues()">hasCachedValues</a></strong>()</code>
<div class="block">Returns true if any cached values have been set for this type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasEqualCallType(com.google.javascript.rhino.jstype.FunctionType)">hasEqualCallType</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;otherType)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasImplementedInterfaces()">hasImplementedInterfaces</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasInstanceType()">hasInstanceType</a></strong>()</code>
<div class="block">Returns whether this function type has an instance type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#hasReferenceName()">hasReferenceName</a></strong>()</code>
<div class="block">Returns true if the object is named.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isConstructor()">isConstructor</a></strong>()</code>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is a constructor or a
 named type that points to such a type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isInstanceType()">isInstanceType</a></strong>()</code>
<div class="block">Whether this type is an Instance object of some constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isInterface()">isInterface</a></strong>()</code>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is an interface or a named
 type that points to such a type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isNativeObjectType()">isNativeObjectType</a></strong>()</code>
<div class="block">Whether this is a built-in object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isOrdinaryFunction()">isOrdinaryFunction</a></strong>()</code>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is an ordinary function or
 a named type that points to such a type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isReturnTypeInferred()">isReturnTypeInferred</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isSubtype(com.google.javascript.rhino.jstype.JSType)">isSubtype</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;that)</code>
<div class="block">A function is a subtype of another if their call methods are related via
 subtyping and <code>this</code> is a subtype of <code>that</code> with regard to
 the prototype chain.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#makesDicts()">makesDicts</a></strong>()</code>
<div class="block">When a class B inherits from A and A is annotated as a dict, then B
 automatically gets the annotation, even if B's constructor is not
 explicitly annotated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#makesStructs()">makesStructs</a></strong>()</code>
<div class="block">When a class B inherits from A and A is annotated as a struct, then B
 automatically gets the annotation, even if B's constructor is not
 explicitly annotated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#matchConstraint(com.google.javascript.rhino.jstype.JSType)">matchConstraint</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;constraint)</code>
<div class="block">Modify this type so that it matches the specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#matchesNumberContext()">matchesNumberContext</a></strong>()</code>
<div class="block">This predicate is used to test whether a given type can appear in a
 numeric context, such as an operand of a multiply operator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#matchesObjectContext()">matchesObjectContext</a></strong>()</code>
<div class="block">This predicate is used to test whether a given type can appear in an
 <code>Object</code> context, such as the expression in a with statement.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#matchesStringContext()">matchesStringContext</a></strong>()</code>
<div class="block">This predicate is used to test whether a given type can appear in a
 <code>String</code> context, such as an operand of a string concat (+) operator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#matchRecordTypeConstraint(com.google.javascript.rhino.jstype.ObjectType)">matchRecordTypeConstraint</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;constraintObj)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#removeProperty(java.lang.String)">removeProperty</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Removes the declared or inferred property from this ObjectType.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setDict()">setDict</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setExtendedInterfaces(java.util.List)">setExtendedInterfaces</a></strong>(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;extendedInterfaces)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setImplementedInterfaces(java.util.List)">setImplementedInterfaces</a></strong>(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;implementedInterfaces)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setPropertyJSDocInfo(java.lang.String, com.google.javascript.rhino.JSDocInfo)">setPropertyJSDocInfo</a></strong>(java.lang.String&nbsp;propertyName,
                    <a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino">JSDocInfo</a>&nbsp;info)</code>
<div class="block">Sets the docInfo for the specified property from the
 <a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino"><code>JSDocInfo</code></a> on its definition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setPrototypeBasedOn(com.google.javascript.rhino.jstype.ObjectType)">setPrototypeBasedOn</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType)</code>
<div class="block">Sets the prototype, creating the prototype object from the given
 base type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setSource(com.google.javascript.rhino.Node)">setSource</a></strong>(<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source)</code>
<div class="block">Sets the source node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#setStruct()">setStruct</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#toDebugHashCodeString()">toDebugHashCodeString</a></strong>()</code>
<div class="block">A hash code function for diagnosing complicated issues
 around type-identity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#toMaybeFunctionType()">toMaybeFunctionType</a></strong>()</code>
<div class="block">Downcasts this to a FunctionType, or returns null if this is not
 a function.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#unboxesTo()">unboxesTo</a></strong>()</code>
<div class="block">Turn an object type to its corresponding scalar type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#visit(com.google.javascript.rhino.jstype.Visitor)">visit</a></strong>(<a href="../../../../../com/google/javascript/rhino/jstype/Visitor.html" title="interface in com.google.javascript.rhino.jstype">Visitor</a>&lt;T&gt;&nbsp;visitor)</code>
<div class="block">Visit this type with the given visitor.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_com.google.javascript.rhino.jstype.ObjectType">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;com.google.javascript.rhino.jstype.<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></h3>
<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#cast(com.google.javascript.rhino.jstype.JSType)">cast</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#createDelegateSuffix(java.lang.String)">createDelegateSuffix</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#defineDeclaredProperty(java.lang.String, com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.Node)">defineDeclaredProperty</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#defineInferredProperty(java.lang.String, com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.Node)">defineInferredProperty</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#defineSynthesizedProperty(java.lang.String, com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.Node)">defineSynthesizedProperty</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#findPropertyType(java.lang.String)">findPropertyType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getDisplayName()">getDisplayName</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getJSDocInfo()">getJSDocInfo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getNormalizedReferenceName()">getNormalizedReferenceName</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getOwnPropertyJSDocInfo(java.lang.String)">getOwnPropertyJSDocInfo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getOwnSlot(java.lang.String)">getOwnSlot</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getParentScope()">getParentScope</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPossibleToBooleanOutcomes()">getPossibleToBooleanOutcomes</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPropertiesCount()">getPropertiesCount</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPropertyNames()">getPropertyNames</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPropertyNode(java.lang.String)">getPropertyNode</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getRootNode()">getRootNode</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getTemplateTypes()">getTemplateTypes</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#hasOwnProperty(java.lang.String)">hasOwnProperty</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#hasProperty(java.lang.String)">hasProperty</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isFunctionPrototypeType()">isFunctionPrototypeType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isObject()">isObject</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isPropertyInExterns(java.lang.String)">isPropertyInExterns</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isPropertyTypeDeclared(java.lang.String)">isPropertyTypeDeclared</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isPropertyTypeInferred(java.lang.String)">isPropertyTypeInferred</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isUnknownType()">isUnknownType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#setJSDocInfo(com.google.javascript.rhino.JSDocInfo)">setJSDocInfo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#testForEquality(com.google.javascript.rhino.jstype.JSType)">testForEquality</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_com.google.javascript.rhino.jstype.JSType">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;com.google.javascript.rhino.jstype.<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></h3>
<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#autobox()">autobox</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#autoboxesTo()">autoboxesTo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#canCastTo(com.google.javascript.rhino.jstype.JSType)">canCastTo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#canTestForEqualityWith(com.google.javascript.rhino.jstype.JSType)">canTestForEqualityWith</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#canTestForShallowEqualityWith(com.google.javascript.rhino.jstype.JSType)">canTestForShallowEqualityWith</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#clearResolved()">clearResolved</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#collapseUnion()">collapseUnion</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#dereference()">dereference</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#differsFrom(com.google.javascript.rhino.jstype.JSType)">differsFrom</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#equals(java.lang.Object)">equals</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#extendTemplateTypeMap(com.google.javascript.rhino.jstype.TemplateTypeMap)">extendTemplateTypeMap</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#forceResolve(com.google.javascript.rhino.ErrorReporter, com.google.javascript.rhino.jstype.StaticScope)">forceResolve</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getGreatestSubtype(com.google.javascript.rhino.jstype.JSType)">getGreatestSubtype</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getLeastSupertype(com.google.javascript.rhino.jstype.JSType)">getLeastSupertype</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getRestrictedTypeGivenToBooleanOutcome(boolean)">getRestrictedTypeGivenToBooleanOutcome</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getTemplateTypeMap()">getTemplateTypeMap</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getTypesUnderEquality(com.google.javascript.rhino.jstype.JSType)">getTypesUnderEquality</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getTypesUnderInequality(com.google.javascript.rhino.jstype.JSType)">getTypesUnderInequality</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getTypesUnderShallowEquality(com.google.javascript.rhino.jstype.JSType)">getTypesUnderShallowEquality</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#getTypesUnderShallowInequality(com.google.javascript.rhino.jstype.JSType)">getTypesUnderShallowInequality</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#hasAnyTemplateTypes()">hasAnyTemplateTypes</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#hasDisplayName()">hasDisplayName</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isAllType()">isAllType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isArrayType()">isArrayType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isBooleanObjectType()">isBooleanObjectType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isBooleanValueType()">isBooleanValueType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isCheckedUnknownType()">isCheckedUnknownType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isDateType()">isDateType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isDict()">isDict</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isEmptyType()">isEmptyType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isEnumElementType()">isEnumElementType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isEnumType()">isEnumType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isEquivalent(com.google.javascript.rhino.jstype.JSType, com.google.javascript.rhino.jstype.JSType)">isEquivalent</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isEquivalentTo(com.google.javascript.rhino.jstype.JSType)">isEquivalentTo</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isFunctionType()">isFunctionType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isGlobalThisType()">isGlobalThisType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isInvariant(com.google.javascript.rhino.jstype.JSType)">isInvariant</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNominalConstructor()">isNominalConstructor</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNominalType()">isNominalType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNoObjectType()">isNoObjectType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNoResolvedType()">isNoResolvedType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNoType()">isNoType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNullable()">isNullable</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNullType()">isNullType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNumber()">isNumber</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNumberObjectType()">isNumberObjectType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isNumberValueType()">isNumberValueType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isRecordType()">isRecordType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isRegexpType()">isRegexpType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isResolved()">isResolved</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isString()">isString</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isStringObjectType()">isStringObjectType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isStringValueType()">isStringValueType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isStruct()">isStruct</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isTemplateType()">isTemplateType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isTemplatizedType()">isTemplatizedType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isUnionType()">isUnionType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isVoidType()">isVoidType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesInt32Context()">matchesInt32Context</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesUint32Context()">matchesUint32Context</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#resolve(com.google.javascript.rhino.ErrorReporter, com.google.javascript.rhino.jstype.StaticScope)">resolve</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#restrictByNotNullOrUndefined()">restrictByNotNullOrUndefined</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#setValidator(com.google.common.base.Predicate)">setValidator</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toAnnotationString()">toAnnotationString</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeEnumElementType()">toMaybeEnumElementType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeEnumType()">toMaybeEnumType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeFunctionType(com.google.javascript.rhino.jstype.JSType)">toMaybeFunctionType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeTemplateType()">toMaybeTemplateType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeTemplateType(com.google.javascript.rhino.jstype.JSType)">toMaybeTemplateType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeTemplatizedType()">toMaybeTemplatizedType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeTemplatizedType(com.google.javascript.rhino.jstype.JSType)">toMaybeTemplatizedType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeUnionType()">toMaybeUnionType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toObjectType()">toObjectType</a>, <a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="isInstanceType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInstanceType</h4>
<pre>public&nbsp;boolean&nbsp;isInstanceType()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isInstanceType()">JSType</a></code></strong></div>
<div class="block">Whether this type is an Instance object of some constructor.
 Does not necessarily mean this is an <code>InstanceObjectType</code>.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isInstanceType()">isInstanceType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="isConstructor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConstructor</h4>
<pre>public&nbsp;boolean&nbsp;isConstructor()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isConstructor()">JSType</a></code></strong></div>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is a constructor or a
 named type that points to such a type.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isConstructor()">isConstructor</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="isInterface()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInterface</h4>
<pre>public&nbsp;boolean&nbsp;isInterface()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isInterface()">JSType</a></code></strong></div>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is an interface or a named
 type that points to such a type.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isInterface()">isInterface</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="isOrdinaryFunction()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isOrdinaryFunction</h4>
<pre>public&nbsp;boolean&nbsp;isOrdinaryFunction()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isOrdinaryFunction()">JSType</a></code></strong></div>
<div class="block">Whether this type is a <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype"><code>FunctionType</code></a> that is an ordinary function or
 a named type that points to such a type.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#isOrdinaryFunction()">isOrdinaryFunction</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="makesStructs()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makesStructs</h4>
<pre>public&nbsp;boolean&nbsp;makesStructs()</pre>
<div class="block">When a class B inherits from A and A is annotated as a struct, then B
 automatically gets the annotation, even if B's constructor is not
 explicitly annotated.</div>
</li>
</ul>
<a name="makesDicts()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makesDicts</h4>
<pre>public&nbsp;boolean&nbsp;makesDicts()</pre>
<div class="block">When a class B inherits from A and A is annotated as a dict, then B
 automatically gets the annotation, even if B's constructor is not
 explicitly annotated.</div>
</li>
</ul>
<a name="setStruct()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStruct</h4>
<pre>public&nbsp;void&nbsp;setStruct()</pre>
</li>
</ul>
<a name="setDict()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDict</h4>
<pre>public&nbsp;void&nbsp;setDict()</pre>
</li>
</ul>
<a name="toMaybeFunctionType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toMaybeFunctionType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;toMaybeFunctionType()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeFunctionType()">JSType</a></code></strong></div>
<div class="block">Downcasts this to a FunctionType, or returns null if this is not
 a function.

 For the purposes of this function, we define a MaybeFunctionType as any
 type in the sub-lattice
 { x | LEAST_FUNCTION_TYPE <= x <= GREATEST_FUNCTION_TYPE }
 This definition excludes bottom types like NoType and NoObjectType.

 This definition is somewhat arbitrary and axiomatic, but this is the
 definition that makes the most sense for the most callers.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toMaybeFunctionType()">toMaybeFunctionType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="canBeCalled()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canBeCalled</h4>
<pre>public&nbsp;boolean&nbsp;canBeCalled()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#canBeCalled()">JSType</a></code></strong></div>
<div class="block">This predicate is used to test whether a given type can be used as the
 'function' in a function call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if this type might be callable.</dd></dl>
</li>
</ul>
<a name="hasImplementedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasImplementedInterfaces</h4>
<pre>public&nbsp;boolean&nbsp;hasImplementedInterfaces()</pre>
</li>
</ul>
<a name="getParameters()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameters</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&gt;&nbsp;getParameters()</pre>
</li>
</ul>
<a name="getParametersNode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParametersNode</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;getParametersNode()</pre>
<div class="block">Gets an LP node that contains all params. May be null.</div>
</li>
</ul>
<a name="getMinArguments()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinArguments</h4>
<pre>public&nbsp;int&nbsp;getMinArguments()</pre>
<div class="block">Gets the minimum number of arguments that this function requires.</div>
</li>
</ul>
<a name="getMaxArguments()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxArguments</h4>
<pre>public&nbsp;int&nbsp;getMaxArguments()</pre>
<div class="block">Gets the maximum number of arguments that this function requires,
 or Integer.MAX_VALUE if this is a variable argument function.</div>
</li>
</ul>
<a name="getReturnType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReturnType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getReturnType()</pre>
</li>
</ul>
<a name="isReturnTypeInferred()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReturnTypeInferred</h4>
<pre>public&nbsp;boolean&nbsp;isReturnTypeInferred()</pre>
</li>
</ul>
<a name="getSlot(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSlot</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/Property.html" title="class in com.google.javascript.rhino.jstype">Property</a>&nbsp;getSlot(java.lang.String&nbsp;name)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getSlot(java.lang.String)">ObjectType</a></code></strong></div>
<div class="block">Default getSlot implementation. This gets overridden by FunctionType
 for lazily-resolved prototypes.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html#getSlot(java.lang.String)">getSlot</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;</code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getSlot(java.lang.String)">getSlot</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the variable slot to look up.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The defined slot for the variable, or <code>null</code> if no
         definition exists.</dd></dl>
</li>
</ul>
<a name="getOwnPropertyNames()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwnPropertyNames</h4>
<pre>public&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;getOwnPropertyNames()</pre>
<div class="block">Includes the prototype iff someone has created it. We do not want
 to expose the prototype for ordinary functions.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getOwnPropertyNames()">getOwnPropertyNames</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getPrototype()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrototype</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getPrototype()</pre>
<div class="block">Gets the <code>prototype</code> property of this function type. This is
 equivalent to <code>(ObjectType) getPropertyType("prototype")</code>.</div>
</li>
</ul>
<a name="setPrototypeBasedOn(com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrototypeBasedOn</h4>
<pre>public&nbsp;void&nbsp;setPrototypeBasedOn(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;baseType)</pre>
<div class="block">Sets the prototype, creating the prototype object from the given
 base type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>baseType</code> - The base type.</dd></dl>
</li>
</ul>
<a name="extendTemplateTypeMapBasedOn(com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extendTemplateTypeMapBasedOn</h4>
<pre>public&nbsp;void&nbsp;extendTemplateTypeMapBasedOn(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;type)</pre>
<div class="block">Extends the TemplateTypeMap of the function's this type, based on the
 specified type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - </dd></dl>
</li>
</ul>
<a name="getAllImplementedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllImplementedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getAllImplementedInterfaces()</pre>
<div class="block">Returns all interfaces implemented by a class or its superclass and any
 superclasses for any of those interfaces. If this is called before all
 types are resolved, it may return an incomplete set.</div>
</li>
</ul>
<a name="getImplementedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplementedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getImplementedInterfaces()</pre>
<div class="block">Returns interfaces implemented directly by a class or its superclass.</div>
</li>
</ul>
<a name="getOwnImplementedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwnImplementedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getOwnImplementedInterfaces()</pre>
<div class="block">Returns interfaces directly implemented by the class.</div>
</li>
</ul>
<a name="setImplementedInterfaces(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImplementedInterfaces</h4>
<pre>public&nbsp;void&nbsp;setImplementedInterfaces(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;implementedInterfaces)</pre>
</li>
</ul>
<a name="getAllExtendedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllExtendedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getAllExtendedInterfaces()</pre>
<div class="block">Returns all extended interfaces declared by an interfaces or its super-
 interfaces. If this is called before all types are resolved, it may return
 an incomplete set.</div>
</li>
</ul>
<a name="getExtendedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtendedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getExtendedInterfaces()</pre>
<div class="block">Returns interfaces directly extended by an interface</div>
</li>
</ul>
<a name="getExtendedInterfacesCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtendedInterfacesCount</h4>
<pre>public&nbsp;int&nbsp;getExtendedInterfacesCount()</pre>
<div class="block">Returns the number of interfaces directly extended by an interface</div>
</li>
</ul>
<a name="setExtendedInterfaces(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExtendedInterfaces</h4>
<pre>public&nbsp;void&nbsp;setExtendedInterfaces(java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;extendedInterfaces)
                           throws java.lang.UnsupportedOperationException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code></dd></dl>
</li>
</ul>
<a name="getPropertyType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getPropertyType(java.lang.String&nbsp;name)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPropertyType(java.lang.String)">ObjectType</a></code></strong></div>
<div class="block">Gets the property type of the property whose name is given. If the
 underlying object does not have this property, the Unknown type is
 returned to indicate that no information is available on this property.

 This gets overridden by FunctionType for lazily-resolved call() and
 bind() functions.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getPropertyType(java.lang.String)">getPropertyType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the property's type or <a href="../../../../../com/google/javascript/rhino/jstype/UnknownType.html" title="class in com.google.javascript.rhino.jstype"><code>UnknownType</code></a>. This method never
         returns <code>null</code>.</dd></dl>
</li>
</ul>
<a name="getBindReturnType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBindReturnType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;getBindReturnType(int&nbsp;argsToBind)</pre>
<div class="block">Get the return value of calling "bind" on this function
 with the specified number of arguments.

 If -1 is passed, then we will return a result that accepts
 any parameters.</div>
</li>
</ul>
<a name="getSuperClassConstructor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSuperClassConstructor</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;getSuperClassConstructor()</pre>
<div class="block">Given a constructor or an interface type, get its superclass constructor
 or <code>null</code> if none exists.</div>
</li>
</ul>
<a name="getTopDefiningInterface(com.google.javascript.rhino.jstype.ObjectType, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTopDefiningInterface</h4>
<pre>public static&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getTopDefiningInterface(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;type,
                                 java.lang.String&nbsp;propertyName)</pre>
<div class="block">Given an interface and a property, finds the top-most super interface
 that has the property defined (including this interface).</div>
</li>
</ul>
<a name="getTopMostDefiningType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTopMostDefiningType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getTopMostDefiningType(java.lang.String&nbsp;propertyName)</pre>
<div class="block">Given a constructor or an interface type and a property, finds the
 top-most superclass that has the property defined (including this
 constructor).</div>
</li>
</ul>
<a name="hashCode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#hashCode()">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="hasEqualCallType(com.google.javascript.rhino.jstype.FunctionType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasEqualCallType</h4>
<pre>public&nbsp;boolean&nbsp;hasEqualCallType(<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;otherType)</pre>
</li>
</ul>
<a name="isSubtype(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSubtype</h4>
<pre>public&nbsp;boolean&nbsp;isSubtype(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;that)</pre>
<div class="block">A function is a subtype of another if their call methods are related via
 subtyping and <code>this</code> is a subtype of <code>that</code> with regard to
 the prototype chain.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd><code>this &amp;lt;: that</code></dd></dl>
</li>
</ul>
<a name="visit(com.google.javascript.rhino.jstype.Visitor)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visit</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;visit(<a href="../../../../../com/google/javascript/rhino/jstype/Visitor.html" title="interface in com.google.javascript.rhino.jstype">Visitor</a>&lt;T&gt;&nbsp;visitor)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#visit(com.google.javascript.rhino.jstype.Visitor)">JSType</a></code></strong></div>
<div class="block">Visit this type with the given visitor.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#visit(com.google.javascript.rhino.jstype.Visitor)">visit</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the value returned by the visitor</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../com/google/javascript/rhino/jstype/Visitor.html" title="interface in com.google.javascript.rhino.jstype"><code>Visitor</code></a></dd></dl>
</li>
</ul>
<a name="getInstanceType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstanceType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getInstanceType()</pre>
<div class="block">Gets the type of instance of this function.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if this function is not a constructor
         (see <a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html#isConstructor()"><code>isConstructor()</code></a>).</dd></dl>
</li>
</ul>
<a name="hasInstanceType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasInstanceType</h4>
<pre>public&nbsp;boolean&nbsp;hasInstanceType()</pre>
<div class="block">Returns whether this function type has an instance type.</div>
</li>
</ul>
<a name="getTypeOfThis()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeOfThis</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;getTypeOfThis()</pre>
<div class="block">Gets the type of <code>this</code> in this function.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html#getTypeOfThis()">getTypeOfThis</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/StaticScope.html" title="interface in com.google.javascript.rhino.jstype">StaticScope</a>&lt;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&gt;</code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getTypeOfThis()">getTypeOfThis</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getSource()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;getSource()</pre>
<div class="block">Gets the source node or null if this is an unknown function.</div>
</li>
</ul>
<a name="setSource(com.google.javascript.rhino.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSource</h4>
<pre>public&nbsp;void&nbsp;setSource(<a href="../../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a>&nbsp;source)</pre>
<div class="block">Sets the source node.</div>
</li>
</ul>
<a name="clearCachedValues()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearCachedValues</h4>
<pre>public&nbsp;void&nbsp;clearCachedValues()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#clearCachedValues()">ObjectType</a></code></strong></div>
<div class="block">Clear cached values. Should be called before making changes to a prototype
 that may have been changed since creation.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#clearCachedValues()">clearCachedValues</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getSubTypes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubTypes</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&gt;&nbsp;getSubTypes()</pre>
<div class="block">Returns a list of types that are subtypes of this type. This is only valid
 for constructor functions, and may be null. This allows a downward
 traversal of the subtype graph.</div>
</li>
</ul>
<a name="hasCachedValues()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasCachedValues</h4>
<pre>public&nbsp;boolean&nbsp;hasCachedValues()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#hasCachedValues()">ObjectType</a></code></strong></div>
<div class="block">Returns true if any cached values have been set for this type.  If true,
 then the prototype chain should not be changed, as it might invalidate the
 cached values.</div>
</li>
</ul>
<a name="toDebugHashCodeString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDebugHashCodeString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toDebugHashCodeString()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toDebugHashCodeString()">JSType</a></code></strong></div>
<div class="block">A hash code function for diagnosing complicated issues
 around type-identity.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#toDebugHashCodeString()">toDebugHashCodeString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="cloneWithoutArrowType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloneWithoutArrowType</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;cloneWithoutArrowType()</pre>
<div class="block">Create a new constructor with the parameters and return type stripped.</div>
</li>
</ul>
<a name="hasAnyTemplateTypesInternal()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAnyTemplateTypesInternal</h4>
<pre>public&nbsp;boolean&nbsp;hasAnyTemplateTypesInternal()</pre>
</li>
</ul>
<a name="removeProperty(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeProperty</h4>
<pre>public&nbsp;boolean&nbsp;removeProperty(java.lang.String&nbsp;name)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#removeProperty(java.lang.String)">ObjectType</a></code></strong></div>
<div class="block">Removes the declared or inferred property from this ObjectType.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#removeProperty(java.lang.String)">removeProperty</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the property's name</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the property was removed successfully. False if the
         property did not exist, or could not be removed.</dd></dl>
</li>
</ul>
<a name="setPropertyJSDocInfo(java.lang.String, com.google.javascript.rhino.JSDocInfo)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPropertyJSDocInfo</h4>
<pre>public&nbsp;void&nbsp;setPropertyJSDocInfo(java.lang.String&nbsp;propertyName,
                        <a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino">JSDocInfo</a>&nbsp;info)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#setPropertyJSDocInfo(java.lang.String, com.google.javascript.rhino.JSDocInfo)">ObjectType</a></code></strong></div>
<div class="block">Sets the docInfo for the specified property from the
 <a href="../../../../../com/google/javascript/rhino/JSDocInfo.html" title="class in com.google.javascript.rhino"><code>JSDocInfo</code></a> on its definition.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#setPropertyJSDocInfo(java.lang.String, com.google.javascript.rhino.JSDocInfo)">setPropertyJSDocInfo</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dd><code>info</code> - <code>JSDocInfo</code> for the property definition. May be
        <code>null</code>.</dd></dl>
</li>
</ul>
<a name="matchesNumberContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesNumberContext</h4>
<pre>public&nbsp;boolean&nbsp;matchesNumberContext()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesNumberContext()">JSType</a></code></strong></div>
<div class="block">This predicate is used to test whether a given type can appear in a
 numeric context, such as an operand of a multiply operator.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesNumberContext()">matchesNumberContext</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="matchesStringContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesStringContext</h4>
<pre>public&nbsp;boolean&nbsp;matchesStringContext()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesStringContext()">JSType</a></code></strong></div>
<div class="block">This predicate is used to test whether a given type can appear in a
 <code>String</code> context, such as an operand of a string concat (+) operator.

 All types have at least the potential for converting to <code>String</code>.
 When we add externally defined types, such as a browser OM, we may choose
 to add types that do not automatically convert to <code>String</code>.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesStringContext()">matchesStringContext</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="unboxesTo()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unboxesTo</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;unboxesTo()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#unboxesTo()">JSType</a></code></strong></div>
<div class="block">Turn an object type to its corresponding scalar type.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#unboxesTo()">unboxesTo</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the unboxed type or <code>null</code> if this type does not unbox.</dd></dl>
</li>
</ul>
<a name="matchesObjectContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesObjectContext</h4>
<pre>public&nbsp;boolean&nbsp;matchesObjectContext()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesObjectContext()">JSType</a></code></strong></div>
<div class="block">This predicate is used to test whether a given type can appear in an
 <code>Object</code> context, such as the expression in a with statement.

 Most types we will encounter, except notably <code>null</code>, have at least
 the potential for converting to <code>Object</code>.  Host defined objects can
 get peculiar.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchesObjectContext()">matchesObjectContext</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="getConstructor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConstructor</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;getConstructor()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getConstructor()">ObjectType</a></code></strong></div>
<div class="block">Gets this object's constructor.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getConstructor()">getConstructor</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>this object's constructor or <code>null</code> if it is a native
 object (constructed natively v.s. by instantiation of a function)</dd></dl>
</li>
</ul>
<a name="getImplicitPrototype()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplicitPrototype</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;getImplicitPrototype()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getImplicitPrototype()">ObjectType</a></code></strong></div>
<div class="block">Gets the implicit prototype (a.k.a. the <code>[[Prototype]]</code> property).</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getImplicitPrototype()">getImplicitPrototype</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getReferenceName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReferenceName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getReferenceName()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getReferenceName()">ObjectType</a></code></strong></div>
<div class="block">Gets the reference name for this object. This includes named types
 like constructors, prototypes, and enums. It notably does not include
 literal types like strings and booleans and structural types.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getReferenceName()">getReferenceName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the object's name or <code>null</code> if this is an anonymous
         object</dd></dl>
</li>
</ul>
<a name="hasReferenceName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasReferenceName</h4>
<pre>public&nbsp;boolean&nbsp;hasReferenceName()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#hasReferenceName()">ObjectType</a></code></strong></div>
<div class="block">Returns true if the object is named.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#hasReferenceName()">hasReferenceName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the object is named, false if it is anonymous</dd></dl>
</li>
</ul>
<a name="isNativeObjectType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNativeObjectType</h4>
<pre>public&nbsp;boolean&nbsp;isNativeObjectType()</pre>
<div class="block">Whether this is a built-in object.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#isNativeObjectType()">isNativeObjectType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getOwnerFunction()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwnerFunction</h4>
<pre>public&nbsp;<a href="../../../../../com/google/javascript/rhino/jstype/FunctionType.html" title="class in com.google.javascript.rhino.jstype">FunctionType</a>&nbsp;getOwnerFunction()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getOwnerFunction()">ObjectType</a></code></strong></div>
<div class="block">Gets the owner of this if it's a function prototype.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getOwnerFunction()">getOwnerFunction</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getCtorImplementedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCtorImplementedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getCtorImplementedInterfaces()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getCtorImplementedInterfaces()">ObjectType</a></code></strong></div>
<div class="block">Gets the interfaces implemented by the ctor associated with this type.
 Intended to be overridden by subclasses.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getCtorImplementedInterfaces()">getCtorImplementedInterfaces</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="getCtorExtendedInterfaces()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCtorExtendedInterfaces</h4>
<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&gt;&nbsp;getCtorExtendedInterfaces()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getCtorExtendedInterfaces()">ObjectType</a></code></strong></div>
<div class="block">Gets the interfaces extended by the interface associated with this type.
 Intended to be overridden by subclasses.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html#getCtorExtendedInterfaces()">getCtorExtendedInterfaces</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a></code></dd>
</dl>
</li>
</ul>
<a name="matchConstraint(com.google.javascript.rhino.jstype.JSType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchConstraint</h4>
<pre>public&nbsp;void&nbsp;matchConstraint(<a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a>&nbsp;constraint)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchConstraint(com.google.javascript.rhino.jstype.JSType)">JSType</a></code></strong></div>
<div class="block">Modify this type so that it matches the specified type.

 This is useful for reverse type-inference, where we want to
 infer that an object literal matches its constraint (much like
 how the java compiler does reverse-inference to figure out generics).</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html#matchConstraint(com.google.javascript.rhino.jstype.JSType)">matchConstraint</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype">JSType</a></code></dd>
</dl>
</li>
</ul>
<a name="matchRecordTypeConstraint(com.google.javascript.rhino.jstype.ObjectType)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>matchRecordTypeConstraint</h4>
<pre>public&nbsp;void&nbsp;matchRecordTypeConstraint(<a href="../../../../../com/google/javascript/rhino/jstype/ObjectType.html" title="class in com.google.javascript.rhino.jstype">ObjectType</a>&nbsp;constraintObj)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/google/javascript/rhino/jstype/FunctionParamBuilder.html" title="class in com.google.javascript.rhino.jstype"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/google/javascript/rhino/jstype/JSType.html" title="class in com.google.javascript.rhino.jstype"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/google/javascript/rhino/jstype/FunctionType.html" target="_top">Frames</a></li>
<li><a href="FunctionType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_com.google.javascript.rhino.jstype.JSType">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_com.google.javascript.rhino.jstype.JSType">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
